package cn.zyq.ykb.beans.config;

import cn.zyq.ykb.system.common.BaseBean;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 配置-任务类型对象 configTaskType
 *
 * @author SystemAuth
 * @date 2023-05-29
 */
@Data
@Entity
@Table(name = "`configTaskType`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class ConfigTaskType  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`configTaskTypeID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer configTaskTypeID;
    /**
     * 任务类型名称
     */
    @Column(name = "`taskTypeName`")
    @ApiModelProperty("任务类型名称")
    private String taskTypeName;
    /**
     * 任务类型图标
     */
    @Column(name = "`taskTypeIcon`")
    @ApiModelProperty("任务类型图标")
    private String taskTypeIcon;
    /**
     * 任务类型描述
     */
    @Column(name = "`taskTypeDescribe`")
    @ApiModelProperty("任务类型描述")
    private String taskTypeDescribe;

    @Transient
    @ApiModelProperty("证券类型")
    private Integer zqType;

}
